//
//  CheekVodeRequest.h
//  CheekiOS
//
//  Created by mac on 2017/7/7.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface CheekVodeRequest : NSObject

/**
 退出视频匹配
 @param Type 1连接 0退出

 */
+(void)getCheekVodeSigType:(NSString *)Type
                   success:(void (^)(id sucess))success
                   failure:(void (^)(NSError * error))failure;


/**
 视频匹配用户
 @param Uid 用户id
 @param lon 经度
 @param lat 纬度
 @param sex 性别	0女1男  2全部
 */
+(void)getCheekVideoChatUid:(NSString *)Uid
                        lon:(NSString *)lon
                        lat:(NSString *)lat
                        sex:(NSString *)sex
                    success:(void (^)(id sucess))success
                    failure:(void (^)(NSError * error))failure;

/**
 断开连麦
 @param uid 用户ID
 */
+(void)getCheekVideoChatOver:(NSString *)uid
                     success:(void (^)(id sucess))success
                     failure:(void (^)(NSError * error))failure;


/**
 //消费钻石
 @param Uid 我的id	必传
 @param charm  钻石值
 @param success 返回值
 @param failure 错误信息
 */
+(void)getCheekScreeningPayCharm:(NSString *)Uid
                           charm:(NSString *)charm
                         success:(void (^)(id sucess))success
                         failure:(void (^)(NSError * error))failure;

/**
 遇见的人
 @param Uid 个人信息
 @param page 1
 @param rows 10
 @param success 返回值
 @param failure 返回错误
 */
+ (void)getCheekVideoChatListUid:(NSString *)Uid
                            page:(NSInteger )page
                            rows:(NSInteger )rows
                         success:(void (^)(id sucess))success
                         failure:(void (^)(NSError * error))failure;

/**
 删除 清空遇到的人
 @param uid 用户
 @param wid 遇到的人的ID
 @param empty 清空时传 1  其他传空
 */
+ (void)getCheekDelVideoUid:(NSString *)uid
                        Wid:(NSString *)wid
                      empty:(NSString *)empty
                    success:(void (^)(id sucess))success
                    failure:(void (^)(NSError * error))failure;


/**
 钻石申请好友
 @param uid 我的id	必传
 @param wid 对方id
 @param charm 消费钻石数

 */
+ (void)getCheekVideobeFriendUid:(NSString *)uid
                             Wid:(NSString *)wid
                           charm:(NSString *)charm
                         success:(void (^)(id sucess))success
                         failure:(void (^)(NSError * error))failure;


/**
 判断是不是好友

 @param uid 我的id	必传
 @param wid 对方id //status		1是好友，0不是，必返回

 */
+ (void)getCheekVideoisFriendUid:(NSString *)uid
                             Wid:(NSString *)wid
                         success:(void (^)(id sucess))success
                         failure:(void (^)(NSError * error))failure;



/**
 请求视频时是否有添加还有请求
 @param Uid 我的id
 @param Wid 他的id
 */
+ (void)getCheekFriendRequestUid:(NSString *)Uid
                             Wid:(NSString *)Wid
                         success:(void (^)(id sucess))success
                         failure:(void (^)(NSError * error))failure;


/**
 视频界面申请添加好友（我申请他）
 @param Uid uid	我的id
 @param Wid wid	他的id

 */
+ (void)getCheekFriendHelloUid:(NSString *)Uid
                           Wid:(NSString *)Wid
                       success:(void (^)(id sucess))success
                       failure:(void (^)(NSError * error))failure;

/**
 判断是否添加为好友

 @param Uid 我的ID
 @param Wid 他的ID
 
 */
+ (void)getCheekBeFriendUid:(NSString *)Uid
                        Wid:(NSString *)Wid
                    success:(void (^)(id sucess))success
                    failure:(void (^)(NSError * error))failure;


/**
 判断陌生人消费20钻石 是否发过消息
 @param Uid 	我的id	必传
 @param Wid 聊天的对方 必传
 */
+ (void)getCheekFriendhasTalkUid:(NSString *)Uid
                             Wid:(NSString *)Wid
                         success:(void (^)(id sucess))success
                         failure:(void (^)(NSError * error))failure;


@end



